message(STATUS "Build tinyndarray tests")

# Executable file for tests (one c++ file)
add_executable(tinyndarray_tests
    ${CMAKE_CURRENT_SOURCE_DIR}/test_basic.cpp
)
include(FetchContent)
FetchContent_Declare(
  cpptrace
  GIT_REPOSITORY https://gitee.com/zhengankun/cpptrace
  GIT_TAG        master
)
FetchContent_MakeAvailable(cpptrace)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/utest.h)
target_link_libraries(tinyndarray_tests PRIVATE tinyndarray cpptrace::cpptrace)